<?php

class ControllerAdmin extends PXFControllerAdmin
{
	static $tablinks = null;

	public function __construct()
	{ 
		self::$tablinks = array(
			array('controller' => 'home', 'action' => 'index',  'title' => 'Inicio'),
		);
		parent::__construct();
		$this->tpl->assign('tablinks',self::$tablinks);
		$this->tpl->assign('ITEM_TYPE','posts');
	}

	public function index()
	{
		PXFConfigAdmin::$site['page_title'] = 'PXFexpress Admin';
		$this->tpl->assign('site',PXFConfigAdmin::$site);
		$this->tpl->assign('admin_modules',PXFConfigAdmin::$adminlinks);
		$this->tpl->assign('admin_modules',PXFConfigAdmin::$adminlinks);
		$this->tpl->display('ajax_home.index.tpl');
	}
}
?>
